package com.guoyu.project.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.guoyu.project.common.utils.ImageURLSerialize;

//上传资料——项目管理 
public class Project_Manage implements Serializable {

	private Integer pId;
	private String  projectUrl;
	private String  name;
	private String  summary;// 简介
	private String  principal;// 负责人
	private String  phone;
	  @JsonSerialize(using = ImageURLSerialize.class)
	private String  picture;
	private String  fiFile;
	private String  seFile;
	private String  thFile;
	private String picName;
	private String fiFileName;
	private String seFileName;
	private String thFileName;
	private String  startTime;
	private String  stage;// 项目阶段
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date    pmCreateTime;
	private int status;
	private int userId;
	public Integer getpId() {
		return pId;
	}
	public void setpId(Integer pId) {
		this.pId = pId;
	}
	public String getProjectUrl() {
		return projectUrl;
	}
	public void setProjectUrl(String projectUrl) {
		this.projectUrl = projectUrl;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getPrincipal() {
		return principal;
	}
	public void setPrincipal(String principal) {
		this.principal = principal;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getFiFile() {
		return fiFile;
	}
	public void setFiFile(String fiFile) {
		this.fiFile = fiFile;
	}
	public String getSeFile() {
		return seFile;
	}
	public void setSeFile(String seFile) {
		this.seFile = seFile;
	}
	public String getThFile() {
		return thFile;
	}
	public void setThFile(String thFile) {
		this.thFile = thFile;
	}
	public String getPicName() {
		return picName;
	}
	public void setPicName(String picName) {
		this.picName = picName;
	}
	public String getFiFileName() {
		return fiFileName;
	}
	public void setFiFileName(String fiFileName) {
		this.fiFileName = fiFileName;
	}
	public String getSeFileName() {
		return seFileName;
	}
	public void setSeFileName(String seFileName) {
		this.seFileName = seFileName;
	}
	public String getThFileName() {
		return thFileName;
	}
	public void setThFileName(String thFileName) {
		this.thFileName = thFileName;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getStage() {
		return stage;
	}
	public void setStage(String stage) {
		this.stage = stage;
	}
	public Date getPmCreateTime() {
		return pmCreateTime;
	}
	public void setPmCreateTime(Date pmCreateTime) {
		this.pmCreateTime = pmCreateTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	@Override
	public String toString() {
		return "Project_Manage [pId=" + pId + ", projectUrl=" + projectUrl + ", name=" + name + ", summary=" + summary
				+ ", principal=" + principal + ", phone=" + phone + ", picture=" + picture + ", fiFile=" + fiFile
				+ ", seFile=" + seFile + ", thFile=" + thFile + ", picName=" + picName + ", fiFileName=" + fiFileName
				+ ", seFileName=" + seFileName + ", thFileName=" + thFileName + ", startTime=" + startTime + ", stage="
				+ stage + ", pmCreateTime=" + pmCreateTime + ", status=" + status + ", userId=" + userId + "]";
	}
	public Project_Manage(Integer pId, String projectUrl, String name, String summary, String principal, String phone,
			String picture, String fiFile, String seFile, String thFile, String picName, String fiFileName,
			String seFileName, String thFileName, String startTime, String stage, Date pmCreateTime, int status,
			int userId) {
		super();
		this.pId = pId;
		this.projectUrl = projectUrl;
		this.name = name;
		this.summary = summary;
		this.principal = principal;
		this.phone = phone;
		this.picture = picture;
		this.fiFile = fiFile;
		this.seFile = seFile;
		this.thFile = thFile;
		this.picName = picName;
		this.fiFileName = fiFileName;
		this.seFileName = seFileName;
		this.thFileName = thFileName;
		this.startTime = startTime;
		this.stage = stage;
		this.pmCreateTime = pmCreateTime;
		this.status = status;
		this.userId = userId;
	}
	public Project_Manage() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
